package com.tjetc.impl;

import com.tjetc.dao.CommunitynoticeMapper;
import com.tjetc.domian.Communitynotice;
import com.tjetc.service.NoticeService;
import com.tjetc.utils.Db;

import java.util.List;

public class NoticeServiceImpl implements NoticeService {
    private CommunitynoticeMapper communitynoticeMapper= Db.getMapper(CommunitynoticeMapper.class);
    @Override
    public List<Communitynotice> select() {
        return  communitynoticeMapper.select();
    }
}
